import { HttpClient, HttpServer } from "tsrpc";
import { ecs } from "../../../core/ecs/ECS";
import { ServiceType as HallServiceProto } from "../../../tsrpc/shared/protocols/HallServiceProto";

/** 网关服务器数据 */
@ecs.register('GateModel')
export class GateModel extends ecs.Comp {
    /** 服务管理器 */
    hsGate: HttpServer = null!;
    /** 匹配服务器 Http 连接对象 */
    hcMatch = new Map<string, HttpClient<HallServiceProto>>();

    reset(): void {
        
    }
}